]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
shellDBus: Add missing initialization
authorJasper St. Pierre <jstpierre@mecheye.net>
Tue, 15 Nov 2011 21:37:57 +0000 (16:37 -0500)
committerJasper St. Pierre <jstpierre@mecheye.net>
Tue, 15 Nov 2011 21:48:20 +0000 (16:48 -0500)
js/ui/shellDBus.js

index 4ab34bd0726c5392382bf23a16921f21a70a1585..8fb51e1c1ba33daec40dc19b3f11118aa698d450 100644 (file)
@@ -156,7 +156,7 @@ GnomeShell.prototype = {
     },
 
     ListExtensions: function() {
-        let out;
+        let out = {};
         for (let uuid in ExtensionSystem.extensionMeta) {
             let dbusObj = this.GetExtensionInfo(uuid);
             out[uuid] = dbusObj;
@@ -166,7 +166,7 @@ GnomeShell.prototype = {
 
     GetExtensionInfo: function(uuid) {
         let meta = ExtensionSystem.extensionMeta[uuid] || {};
-        let out;
+        let out = {};
         for (let key in meta) {
             let val = meta[key];
             let type;